S
Seid Rudy
I have a problem using "scp" from a ruby scrip. It copies my sql file to
the destination but it cuts the file the middle of line 290.
When i run scp manually i the copied file is normal.
I am using `` to call the unix command
Dir.chdir(sql_folder)
`scp -r #{sql_folder} #{remotelogin}:#{remotesqlfolder}/#{document_id}`
Do you have any idea what i am doing wrong?
the destination but it cuts the file the middle of line 290.
When i run scp manually i the copied file is normal.
I am using `` to call the unix command
Dir.chdir(sql_folder)
`scp -r #{sql_folder} #{remotelogin}:#{remotesqlfolder}/#{document_id}`
Do you have any idea what i am doing wrong?