Topic "Command Line destination specification"

Author Message
RickW
[View user's profile]

Joined: 2006-05-08
Posts: 1
I'm trying to do a copy of a file using scp, from the command line, so it can be run from within PHP. How do I specify the destination location, so that the script is not prompted? Maybe I didn't specify my search very well, but I couldn't find an answer for this in the forum or documentation....
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Type "help put" into console.
_________________
Martin Prikryl
Pedro

Guest


Trying to set up a "drag & drop" icon for a non-technical user to be able to back up some files from their desktop. Is there a way to do this without them being prompted for ANY information?

I have a drag & drop icon set up, it does copy the files just as I want but it pops up the "Copy" dialog box every time and they have to hit the "Copy" button without changing anything.

Suggestions?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Pedro wrote:
Trying to set up a "drag & drop" icon for a non-technical user to be able to back up some files from their desktop. Is there a way to do this without them being prompted for ANY information?

I have a drag & drop icon set up, it does copy the files just as I want but it pops up the "Copy" dialog box every time and they have to hit the "Copy" button without changing anything.

If you use /upload parameter, that if should be enough to add /defaults parameter too.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License