Forums > MaxMSP

jit.uldl questions

November 27, 2006 | 2:10 pm

Hi everyone,

I’m trying to replace shell based ftp in my Max patch (with its
associated path conversion mess) by jit.uldl.

I have a couple of questions:

1. According to the terminal/cyberduck etc., the path of a file is
ftp://192.168.2.3:21/Users/bert/Music/sample1.wav
When I paste this URL in jit.uldl it gives me error -30785? What
does that mean?
It looks like jit.uldl connects to the /User/bert/ directory
automatically, but I need to upload stuff in the global MyDisk/
Applications/MaxMSP folder. How do I do this? What does an absolute
path look like in jit.uldl?
the URL ftp://192.168.2.3:21/Volumes/Diskie/Applications/MaxMSP461/
lame works fine in cyberduck, but gives error -30785 in jit.uldl.

2. Why can’t I download to the root of my boot disk?

I’ve included an example patch to clarify my questions

Any insights much appreciated.

Best,

Zip

max v2;
#N vpatcher 54 524 891 993;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 30 50 73 196617 defaultdir G5:;
#P message 288 132 51 196617 geturl_dl;
#P message 52 78 246 196617 defaultdir
G5:Users:zipboterbloem:PoisonDownloads;
#P newex 306 214 32 196617 print;
#P message 214 131 68 196617 getdefaultdir;
#P message 139 135 48 196617 report 1;
#P message 77 136 51 196617 download;
#P window linecount 2;
#P newex 77 164 239 196617 jit.uldl @username bert @password bertje
@url_dl ftp://192.168.2.3:21/Music/sample1.wav;
#P window linecount 1;
#P comment 116 49 132 196617 error -5000 on download?;
#P comment 308 76 100 196617 OK;
#P window linecount 2;
#P comment 335 165 303 196617 ftp://192.168.2.3:21/Users/bert/Music/
sample1.wav gives error -30785?;
#P connect 10 0 3 0;
#P connect 4 0 3 0;
#P connect 5 0 3 0;
#P connect 6 0 3 0;
#P fasten 9 0 3 0 74 166;
#P connect 8 0 3 0;
#P connect 3 1 7 0;
#P pop;

Zip Boterbloem
Media Mechanics
Zwaluwstraat 54
2025 VR Haarlem
The Netherlands
+31627014758
zip@knoware.nl


November 27, 2006 | 10:20 pm

Zip,
I remember that a similar(?) issue came up on the jitter list a while
ago.
here is a quote.
I have no idea if this is related or helpful, just a hunch
-jennek

On 4-okt-2006, at 15:11, Paul Hertz wrote:
> After successful login, FTP points to the home directory for the
> accunt that has been used. The path specified must be relative to this
> directory, not to the root. Specifying the host/path values as:
>
> ftp://10.0.1.2/Documents/Projects
>
> instead of
>
> ftp://Users/mydirectory/Documents/Projects
>
> took care of the problem.

On 27-nov-2006, at 15:10, Zip Boterbloem wrote:

> Hi everyone,
>
> I’m trying to replace shell based ftp in my Max patch (with its
> associated path conversion mess) by jit.uldl.
>
> I have a couple of questions:
>
> 1. According to the terminal/cyberduck etc., the path of a file is
> ftp://192.168.2.3:21/Users/bert/Music/sample1.wav
> When I paste this URL in jit.uldl it gives me error -30785? What
> does that mean?
> It looks like jit.uldl connects to the /User/bert/ directory
> automatically, but I need to upload stuff in the global MyDisk/
> Applications/MaxMSP folder. How do I do this? What does an absolute
> path look like in jit.uldl?
> the URL ftp://192.168.2.3:21/Volumes/Diskie/Applications/MaxMSP461/
> lame works fine in cyberduck, but gives error -30785 in jit.uldl.
>
> 2. Why can’t I download to the root of my boot disk?
>
> I’ve included an example patch to clarify my questions
>
> Any insights much appreciated.
>
> Best,
>
> Zip
>
> max v2;
> #N vpatcher 54 524 891 993;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P message 30 50 73 196617 defaultdir G5:;
> #P message 288 132 51 196617 geturl_dl;
> #P message 52 78 246 196617 defaultdir
> G5:Users:zipboterbloem:PoisonDownloads;
> #P newex 306 214 32 196617 print;
> #P message 214 131 68 196617 getdefaultdir;
> #P message 139 135 48 196617 report 1;
> #P message 77 136 51 196617 download;
> #P window linecount 2;
> #P newex 77 164 239 196617 jit.uldl @username bert @password bertje
> @url_dl ftp://192.168.2.3:21/Music/sample1.wav;
> #P window linecount 1;
> #P comment 116 49 132 196617 error -5000 on download?;
> #P comment 308 76 100 196617 OK;
> #P window linecount 2;
> #P comment 335 165 303 196617 ftp://192.168.2.3:21/Users/bert/Music/
> sample1.wav gives error -30785?;
> #P connect 10 0 3 0;
> #P connect 4 0 3 0;
> #P connect 5 0 3 0;
> #P connect 6 0 3 0;
> #P fasten 9 0 3 0 74 166;
> #P connect 8 0 3 0;
> #P connect 3 1 7 0;
> #P pop;
>
> Zip Boterbloem
> Media Mechanics
> Zwaluwstraat 54
> 2025 VR Haarlem
> The Netherlands
> +31627014758
> zip@knoware.nl
>
>
>


Viewing 2 posts - 1 through 2 (of 2 total)