Gayle Meikle wrote:
Hi all,
I have created a patch which records audio and sends it to a local folder; Ideally i would like to send the audio to a website. Does anyone have any hints as to how I automatically upload the mp3 created in pd to a ftp?
Maybe use some kind of network filesystem that makes the remote folder appear as a local folder to applications?
For example, sshfs for FUSE in Linux makes remote folders appear like local folders, using ssh. There is probably something similar for FTP.
Otherwise, use [shell] or similar, and a command-line ftp upload client. This will probably make Pd wait until the upload is complete, so you might instead want to send filenames to an uploader script using pdreceive and [netsend].
thanking you in advance,
Gayle